简体   繁体   English

我应该使用哪个数据库?

[英]which database should I use?

I am planning to build a web application and android app, which will manage huge numbers of notification (push notification), and can work in slow internet connection too. 我打算构建一个Web应用程序和Android应用程序,它将管理大量的通知(推送通知),并且也可以在慢速的互联网连接中工作。 I need to send and get instant notifications. 我需要发送并获得即时通知。 Number of users can be thousands or millions, application will have multiple servers (web farm), multiple database. 用户数可以是数千或数百万,应用程序将拥有多个服务器(Web场),多个数据库。 Now I need to decide that which database will be best for this kind of application and which language should I use for programming. 现在我需要确定哪种数据库最适合这种应用程序,以及我应该使用哪种语言进行编程。 Please help me out. 请帮帮我。 Any suggestions will be appreciated 任何建议将不胜感激

I Blindly Suggest you to Use Parse Cloud Database,as it provides SDK for All mobile Environments like Android and IOS for easy implementation and also it recently Launched a Javascript SDK to use.Its free for Trial.MultiPlatform Support and Secure 我盲目建议您使用Parse Cloud数据库,因为它为Android和IOS等所有移动环境提供了SDK,以便于实施,并且最近推出了一个Javascript SDK供使用。它免费提供Trial.MultiPlatform支持和安全

Check it out Here: https://www.parse.com/ 看看这里: https//www.parse.com/

Well, first you need to decide what your immediate needs are. 那么,首先你需要决定你的直接需求是什么。 Are you going to use this on a platforms that could potentially have hundreds of people accessing information at the same time? 您是否打算在可能有数百人同时访问信息的平台上使用此功能? Then you need to estimate your future needs. 然后你需要估计你未来的需求。

This will help you to decide your database system. 这将帮助您确定数据库系统。

As per my experience i am suggesting you to use MYSQL database. 根据我的经验,我建议你使用MYSQL数据库。

Are you sure you going to get to thousands and millions users ? 您确定要获得成千上万的用户吗? Everyone starts from scratch (read: zero users, except some friends). 每个人都从头开始(读:零用户,除了一些朋友)。 By this I mean, that you have to concentrate on what's the real issue within your development (growing app user base is different story): 我的意思是,你必须专注于你的开发中的真正问题(不断增长的app用户群是不同的故事):

  1. Creation of Android app and it's lifecycle (updates, support of previous versions & etc). 创建Android应用程序及其生命周期(更新,支持以前的版本等)。
  2. Back-end. 后端。 Will I also work on Back-end. 我也会在Back-end上工作吗? Working on 2 'projects' (Android app and it's back-end) isn't easy. 处理2个'项目'(Android应用程序及其后端)并不容易。 Not everyone is experienced enough to work on multiple assignments at the same time. 并非每个人都有足够的经验,可以同时处理多项任务。
  3. Valuate an option of using SaaS/Paas backend. 评估使用SaaS / Paas后端的选项。 Most of the have trial or free version for developer. 大多数都有开发人员的试用版或免费版。

Third option is great. 第三种选择很棒。 Get cheap/free web host. 获得便宜/免费的网络主机。 Store there configuration, that your Android app will download when it starts. 存储配置,您的Android应用程序将在启动时下载。 In configuration you should declare what's the back-end and how to communicate with it. 在配置中,您应该声明后端是什么以及如何与之通信。 You can use any of known services like https://www.firebase.com or https://parse.com/plans or even use Google App engine free tier / AWS free tier. 您可以使用https://www.firebase.comhttps://parse.com/plans等任何已知服务,甚至可以使用Google App引擎免费套餐/ AWS免费套餐。

About developing app for Android - if your app doesn't need any complex calculation or libraries - just write it with JavaScript. 关于为Android开发应用程序 - 如果您的应用程序不需要任何复杂的计算或库 - 只需使用JavaScript编写它。 It's fast enough. 它足够快。 Though, Java apps are always faster and easier to debug. 但是,Java应用程序总是更快,更容易调试。

Good luck ! 祝好运 !

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM