Client Side buffering vs WAL

2010-09-07 Thread Michael Segel
Hi, Came across a problem that I need to walk through. On the client side, when you instantiate an HTable object, you can specify HTable.setAutoFlush(true/false). Setting the boolean value to true means that when you execute a put(), the write is not buffered on the client and will be

Re: Client Side buffering vs WAL

2010-09-07 Thread Jean-Daniel Cryans
I think Lars explains it best: http://www.larsgeorge.com/2010/01/hbase-architecture-101-write-ahead-log.html Short version: writing to the WAL is a backup solution if the region server dies, because it's the MemStore that's being used for reads (not the WAL). If you autoFlush, then everyone can