Posts

Showing posts from February, 2010

Online Booking Is Safe

Mahmoud al-Mabhouh, one of the founders of the Izz ad-Din al-Qassam Brigades, was recently found dead in his hotel room in Dubai. Dubai authorities stated they were ruling the death a homicide and according to BBC : Investigators have also discovered that 14 of the suspects had used credit cards issued by MetaBank - a small bank based in the US state of Iowa - to book hotel rooms and pay for air travel.

In-Memory DB, H2 and Python

Our log data is sent to a log server which then saves it in a PostgreSQL database. To prevent the database from growing too large, we periodically remove data older than 24 hours from the database and save it for future query. However, queries on the remaining data is still not fast enough for realtime monitoring. Besides, the vacuum process of PostgreSQL fails to handle gracefully the large number of deletes and slows down our system significantly when it runs. I'd like to replace the whole logging system with a Hadoop-based system. But right now, I need something that can be up and running in 2 to 3 days and has no or minimal impact on the rest of the system. The log server would save all log data into log files. At the same time, it runs a embedded in-memory database that has the most recently log data for our realtime monitoring applications to query. Of the final choices of in-memory databases in H2 , HSQLDB and Apache Derby , I decide to go with H2. Since our monitor...