Cloud Services

【原创】SAE本地环境与真实环境的差别

其实从刚开始用的时候就发现本地环境和真实环境有不同,导致本地环境我都没怎么用。

1、本地环境的php是32bit版本的,真实环境是64bit的。这是我发现的第一个不相同的地方,就是因为这个,直接导致我的应用绝大部分调试工作都是在把代码上传到服务器后直接在线测试的。因为我做那个应用的时候需要用到64位整数,本地环境不支持。

2、saemysql使用的不同,今天在本地用了一下saemysql,本来以为直接拿以前线上的代码直接在本地环境中运行就可以的,结果发现不行。在线上的版本,只要直接

基于 hadoop 文件系统以及 Hbase 的微博系统

一、部署前提

1.在Linux环境

2.安装部署了hadoop

3.安装部署了hbase

4.安装了web应用服务器,如tomcat、或者jetty等

5.部署struts2

二、应用介绍

     以基于Hbase的hadoop为数据库,实现用户发布微博和,关注用户及等功能,涉及到Hbase表结构设计,相应实现的Java API等一些内容。使用hbase作为微博系统的数据存储平台有如下好处:根据微博系统的特点,微博用户数量庞大,且关注和被关注数据严重不相等,这些特点刚好可以通过hbase分布式处理数据的一些特性得以满足,如果使用旧的关系数据库可能对一个单独的服务器要求非常之高。

三、部分实现

由于篇幅较长,就用最常见的用户注册和登录来举例说明,其他功能其实都类似,总的架构来说都是比较熟悉的MVC,浏览器发送请求到服务器,通过struts分发请求,最终结果又返回到浏览器。

1.用户注册/登录,前台页面就不一一描述了,就是普通的输入用户名密码然后点击注册/登录等。

struts配置

Rapid Makers

For some while I keep finding around me things related to Makers, Quadcopters, and algorithms. At first I thought that it is just by chance... That IoT is nice, and Makers are having fun, and algorithms are just another way of saying parallel programming and so on... Apparently there is something very unique that connects all these seemingly unrelated areas. You know, it takes a while to realize it, but: if everyone at work speaks Martian, and your barman speaks Martian, and you go back home and your wife speaks Martian, then you probably live on Mars!

SpaceApps NYC 2015 : A Truly Stellar Event!

The International Space Apps Challenge is a technology development and problem solving event during which citizens from around the world collaborate to tackle challenges relevant to improving life on Earth and the exploration of space. Intel has participated in these events and has provided technical mentorship, as well as software/hardware sponsorship.

Intel Cluster Ready FAQ: Software vendors (ISVs)

Why should we join the Intel Cluster Ready program?
A: By offering registered Intel Cluster Ready applications, you can provide the confidence that applications will run as they should, right away, on certified clusters. Participating in the program will help you increase application adoption, expand application flexibility, and streamline customer support.
Learn more about the Intel Cluster Ready program

Q: How do we register an application?

  • Developers
  • Partners
  • Linux*
  • Business Client
  • Cloud Services
  • Server
  • C#
  • C/C++
  • Intel® Cluster Ready
  • Message Passing Interface
  • OpenMP*
  • Cloud Computing
  • Cluster Computing
  • Data Center
  • Development Tools
  • Enterprise
  • Parallel Computing
  • Intel Cluster Ready FAQ: General Questions

    Q: What is the Intel® Cluster Ready program?
    A: Working with hardware and software vendors, Intel created the Intel Cluster Ready program to simplify configuring, deployment, validation, and management of high-performance computing (HPC) clusters. Intel Cluster Ready can help drive adoption of HPC while enabling customers to boost productivity and solve new problems. Learn more about the Intel Cluster Ready program for:
     

  • Developers
  • Partners
  • Linux*
  • Business Client
  • Cloud Services
  • Server
  • C#
  • C/C++
  • Intel® Cluster Ready
  • Message Passing Interface
  • OpenMP*
  • Intel Cluster Ready FAQ: Hardware vendors, system integrators, platform suppliers

    Q: Why should we join the Intel® Cluster Ready program?
    A: By offering certified Intel Cluster Ready systems and certified components, you can give customers greater confidence in deploying and running HPC systems. Participating in the program will help you drive HPC adoption, expand your customer base, and streamline customer support. You will also gain access to the Intel Cluster Checker software tool and the library of pre-certified Intel Cluster Ready system reference designs.

  • Developers
  • Partners
  • Linux*
  • Business Client
  • Cloud Services
  • Server
  • C/C++
  • Fortran
  • Intel® Cluster Ready
  • Message Passing Interface
  • OpenMP*
  • Cloud Computing
  • Cluster Computing
  • Data Center
  • Development Tools
  • Enterprise
  • Parallel Computing
  • Subscribe to Cloud Services