I need to learn Couchbase server as database in my WPF application.
Kindly assist in setting the pool, bucket integration.
A good place to start is the Couchbase 10x series on YouTube, after which Couchbase's blogs, forum, and documentation should provide more detailed knowledge regarding the Server, clients, and mobile suite; after the initial overview the videos on YouTube provide (including a more overall introduction to NoSQL and Couchbase's
Related
This is going to be a generic question.
We are a young startup faced with the inevitable problem of scaling and during our research, Apache Mesos seemed like a good fit for our architecture, which is –
Core Scala based microservices, each responsible for dealing with a
part of our database, which is mainly MySQL
Middleware microservices,
to deal with some other persistent data-storage systems like MongoDB,
Elasticsearch etc.
Which basically means that we can containerise all of our services and ship them to a single datacenter which can then deploy these containers in a topographically agnostic way.
What we are currently stumped by is –
Mesos doesn't seem to have any native support for MySQL
Container based persistence seems awfully tricky and hard to manage/maintain.
We'd like to continue using MySQL/MongoDB/ElasticSearch because migrating to Cassandra etc. at this stage (we are a small team) is too much of an overhead and hence not an option.
What are the best strategies for this problem?
Mesos provide Persistent resources support for storage-like services.
If you want to use MySQL on mesos, please consider try https://github.com/apache/incubator-cotton
After some research we decided not to try Cotton but we're still sticking to deploying our services across a Mesos cluster.
Instead of hosting our own MySQL database, we decided to outsource it to Amazon RDS. But we're now faced with problems like doing something for our other databases like MongoDB.
I am working on a web application that is based on a MySQL database. I need to collect and analyse usage and performance statistics. The statistics will be aimed at non-technical personnel.
How can I implement this feature? You should treat my question as a programming question but in case you know of a tool or extension that would be suitable please mention it.
The official MySQL client, MySQL Workbench includes the feature to visualize Performance Schema since version 6.1. It's in Performance section in the software.
Read more at: http://mysqlworkbench.org/
Sooner, we are going to shard our mysql database to achieve horizontal scaling. Our technology stack is based on spring, hibernate.
However, I haven't been able to find any alternate to hibernate which would support sharding at the application level.
I read about hibernate shards but it is no longer maintained, so I would not be suitable to use it in production.
Moreover, with companies like facebook, twitter, digg using mysql sharding, I am surprised that there is not GA hibernate alternative to sharding.
I would appreciate if someone could suggest some persistence framework in java which supports sharding out of the box.
Thanks in advance!!!!
Disclaimer: I work for ScaleBase, a provider of a complete MySQL scale-out solution an "automatic sharding machine" if you like.
I'm a believer of a solution that is outside the code. This way the entire eco-system including ad-hoc and administration queries from MySQL command line and utilities like MySQLDump are also "aware" of the sharding.
This was the main disadvantage of Hib Shards, or any sharding framework that would be limited to the persistence layer, inside the application code.
We have some good resources about key-based sharding (hash, range, list) and data distribution on our site: http://www.scalebase.com/products/database-sharding/ http://www.scalebase.com/resources/webinars/ - (search for "WEBINAR – 10.23.12: Benefits of Automatic Data Distribution")
I also invite you to look at my blog: http://database-scalability.blogspot.com
Hope I helped.
With the recent release of MySQL cluster that includes the memcache api, and provides persistency for memcache, can anyone share the benefits of which one to choose?
My initial idea is to use couchbase as a memcache layer between the app and db.
first, as a disclosure, I'm part of the MySQL Cluster team
Speaking specifically for MySQL Cluster, there is a decent blog here that takes you through the design rationale, benefits and implementation:
http://www.clusterdb.com/mysql-cluster/scalabale-persistent-ha-nosql-memcache-storage-using-mysql-cluster/
There is also a webinar recorded last month that demonstrates how to build a social networking type service with Memcached API and MySQL Cluster (registration required):
http://www.mysql.com/news-and-events/on-demand-webinars/display-od-723.html
I don't have any specific comparisons with Couchbase, but I hope the resources above will be useful in helping you determine if MySQL Cluster is right for your project
Recently I had to answer the same question for myself. I wanted to pick a DB for social application that works intensively with a lot of data and many users. As you can see my needs were not expected to outline some big technical differences between these DBs - after all both are used quite often for such applications.
Anyway, I prepared some load tests based on the scenarios I was interested in. And at the end I run the tests continuously for two days on strong hardware. I would say that more or less both products showed the same amazing performance. I had some crash tests too - dumb cases where I try to eat all the resources and do "stupid" things. On these tests I had lower expectations for Couchbase but it surprised me quite positively and it actually did better job than MongoDB. So, for the needs I had, from technical and architecture perspective I did not find much differences between Couchbase and MySQL Cluster. My advice is to run some tests based on your scenarios and see for yourself.
In my case the choice at the end was based on the license agreement, the statements in the legal notice, the pricing and the community around the product - as a result I picked MySQL Cluster.
I have developed a social networking site using the elgg framework and I am hosting it on amazon cloud (Amazon EC2, the free tier micro instance service) and thus develop a benchmark for it.I am creating around 200 columns describing each user (most of them dummy) and after that I should create around a million users with each users profile updated with some data.This is done to reflect the image of big data.When hosted on cloud we should measure the cloud's performance based on a query and an update action for all users. The problem is how to create so many users? Which tool would be optimal to choose? Done this, I should also consider storage on a file system(HDFS) and do the same with some modifications (The output should be a row and the input should be an unstructured data).
For elgg framework we are using mysql as backend. I have no idea how to start with it. Any suggestions would be really helpful.
Thank you.
I had to perform a similar task recently and came up with this script.. maybe it can help you