13. Problems Not Solved
Back end scripts –
●
bulk import/export
Large Data Retrievals
●
– cursors
Native Binds /
●
Prepared Statements
Enterprise Buzzword
●
Compliance
A Sober Lindsay
●
14. DBSlayer is the middle-man
Connection Pooling
●
Multi-threaded
●
Round robin distribution of queries
●
Automatic fail over to alternate database
●
Easy configuration
●
Statistics / Logging
●
Tiny code base
●
16. Flexiblity
Loose coupling of front and middle
●
easy upgrade
–
abstract location of db – makes re-config a
–
snap
Language independent
●
JSON easily shared across languages
–
Common place to add additional features
●
17. Scalability
Round robin across slaves
●
Automatic fail over for slaves
●
Easily add more slaves
●
HTTP plays nice with load balancers
●
JSON is very cachable
●
Stateless is required for effective scaling
●
18. Simplicity
HTTP and JSON - everyone knows them
●
Transparent protocol – capture, interpret
●
Lots of tools to work with HTTP
●
Works with your browser
●
HTTP server base – easy to deploy new
●
endpoints
24. View Source
Built on top of MySQL C API and Apache
●
Runtime Libraries (APR)
Why APR?
●
Platform agnostic
–
Memory Pools
–
Networking / Threading Abstractions
–
Proven
–
25. 3 Parts
server – handles network, HTTP parsing,
●
threading, logging
db – handle mysql access, type mapping,
●
connection failover
util – json de/serializer
●
26. Future / Your Chance
improve HTTP caching layer
● ●
complaince partition / shard
●
more database support
●
backends (APR new language
●
dbd) bindings
alternate serializer
●
more stats /
●
XML logging
security
●
scriptable filters
●