Date post: | 19-Jan-2015 |
Category: |
Technology |
Upload: | thibault-pouget |
View: | 528 times |
Download: | 3 times |
Revised v4Presenter
Valeo MarketThibault Pouget
Valeo has gone Google 2 years ago.
Valeo chose Android for their mobility needs
Need for mobile apps
Need for a mobile app deployment platform
Context
Valeo Market - Simplified deployment workflow
developer users
Valeo Market
managers
1 3 42 5 6
testers
Valeo Market - Deployment worflow to come
New release notification (C2DM).
Auto-update.
No more e-mail notification.
Valeo Market - Current use cases
Crash logs
Usage stats
Release deployments
Google Web Toolkit 2.0.4
Google App Engine (Java) 1.3.8Mail (outgoing and incoming)MemcacheTask QueuesURL FetchUsersXMPP (just a bit)Blobstore (to come)
Data APIsSpreadsheet (GData Java Client)Visualization (GWT)
Under the hood
Application under Google Apps Domain
So easy to use:
Essentially used for access rights
Users - practical
UserService userService = UserServiceFactory.getUserService();User user = userService.getCurrentUser();String email = user.getEmail();
Used to send new release notifications to users
Incoming e-mails to give Go/No Go instructions
Mail - both ways
Valeo Market
Allows quick interaction with the app like:
give Go/No Go instructions.get quick stats
XMPP - 'cause it's fun !
Valeo Market
Statistics queries are quite heavy.
Memcache is used to avoid doing the same thing twice.
Significantly improves response time.
Involves few lines of code:
Put in a singleton, can be used quickly from anywhere:
Memcache - a must use !
CacheFactory cacheFactory = CacheManager.getInstance().getCacheFactory();Cache cache = cacheFactory.createCache(Collections.emptyMap());
MC.get().put(key, value);[...]String value = MC.get().get(key);
Response time improvementsExporting data to Spreadsheet (combined with Cursors)
Task Queues - GAE threads
Valeo Market
Currently:APKs (~80KB) are persisted as blobs.Each user gets a link to a download servlet.APKs are served out from Datastore
In the works:�APKs will be uploaded to the Blobstore.Each user will get a download link by e-mail.APKs will directly be served from the Blobstore.
Blobstore - to come
APIs
Google Spreadsheets APIData export to Spreadsheets (and then to CSV)
Google Visualization APIVisual statsGWT wrapper : gwt-visualization
Demo ?
Questions ? - just drop by