if expecting alot of withdrawals.
dont send a tx per user request. send it out as batches. EG once every 30 minutes as a single tx going out to many customers. ofcourse highlight to customers that withdrawals may take upto an hour (allowing 30minute confirmation wiggle room)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FMu57BQ0.png&t=663&c=Uh7h8yuPp2Na2w)
note: 'bytes' might vary +-10 in calculations
note: cost/byte set at an old 'high' as a onetime worse case scenario demo. but you atleast see the difference singular v batching does
i displayed this old spreadsheet to demonstrate cost / withdrawl =0.00003085(batched) as oppose to 0.00070200(singular)
as for LN
LN is not about depositing funds into you and withdrawing out to not use you again.
LN is for those that want to deposit in.. and then agree on who gets what amount of deposited funds over time internally. and settleup/withdraw later
(repeat trades by having pre-paid bartab instead of buying each item separately)
think of it like a joint bank account.
you and wife put funds in. then away from the bank agree on who owes who what each minute, hour, day, week, whenever
then at end of the month X goes to her Y goes to you when you both go to the ATM. saving you having to go to the bank each day to withdraw
so its like an orderbook away from the network. if customers are always depositing 0.001 a day.. and withdrawing 0.00x
then you can tell them use LN deposit 0.03 to cover a month. set the lock for a month. and you can both adjust who owes what each day internally
and at the end of the month submit 1 tx for 0.0x to them and 0.0x to you. as one tx a month instead of 30tx a month.
as for customers that only use you once, ever.. forget it LN has no advantage