Breaking Down the Barriers through Virtualization

Breaking Down the Barriers through Virtualization

Breaking Down the Barriers through Virtualization - Frank Feldman, Red Hat.

Developer Track MSC Malaysia Open Source Conference 2009

1 June 2009

Archive

http://www.slideshare.net/linuxmalaysia/breaking-down-the-barriers-through-virtualization-frank-feldman-red-hat

http://www.scribd.com/doc/16194309/Breaking-Down-the-Barriers-through-Virtualization-Frank-Feldman-Red-Hat

More slides and files

http://groups.google.com/group/osdcmy-list/files

Photo credit to Sumardi http://www.sumardi.com/

----

Breaking Down the Barriers through Virtualization - Frank Feldman, Red Hat - Presentation Transcript

Breaking down the Barriers through Open Source Virtualization st MSC OSCONF 2009 – June 1 Frank Feldmann Red Hat Product Manager - APJ
? KVM: Kernel-based Virtual Machine – Full virtualization solution for Linux • Incorporated into the Linux kernel in 2006 • Converts Linux into a hypervisor. Runs Windows, Linux and other guests • KVM architecture provides high “feature-velocity” – leverages the power of Linux
• Scalability – Host Scalability – theoretically unlimited. Tested 256 cores, 1 TB RAM – Guest Scalability – 16vCPU, 64 GB RAM • Industry Standards – VirtIO network and block drivers – Libvirt/CIM management interface ? Storage and networking – FC, iSCSI, NAS/NFS – Host/guest networking – multiple VLANs • Advanced Features – Memory Page sharing, swapping etc. – VM-Secure (SELinux)
RHEV Overview Feature Description High Availability Restart guest VMs from failed hosts automatically on other hosts Move running VM from 1 host to another. 0 downtime, 0 sessions Live Migration lost. System Scheduler Continuously load balance VMs based on resource usage/policies Concentrate VMs on fewer servers during off-peak hrs. Save Power Saver power. Maintenance Manager 0 downtime for VMs during planned maintenance window Image Manager Snapshots, Templates, Overlays, Save / Restore For all objects in system – VM guests, hosts, networking, storage Monitoring and Reporting etc.
DEMONSTRATION

----

MSC Malaysia Open Source 2009

http://www.mscmalaysia.my/opensource

http://www.facebook.com/pages/Kuala-Lumpur-Malaysia/MSC-Malaysia-Open-Source-Conference-2009/97810422651

Open Source Developers Club Malaysia OSDC.my

http://www.osdc.my/

OSDC.my Mailing List

http://groups.google.com/group/osdcmy-list

MSC Malaysia Open Source Conference 2009 slides at slideshare.com

http://www.slideshare.net/tag/mscosconf

Youtube Video Clips MSC Malaysia Open Source Conference 2009

http://www.youtube.com/watch?v=JErEKoptFsU

Cyber Merdeka Cyber Sovereignity By Azrul Hasni Madisa

http://mscoscon.blogspot.com/2009/06/cyber-merdeka-cyber-sovereignity-by.html


Analysis and Design Method for OSGi-based Development


Analysis and Design Method for OSGi-based Development

Analysis and Design Method for OSGi-based Development Azrinsyah Mirza Asfian, Engineer at MIMOS Berhad

Community Track MSC Malaysia Open Source Conference 2009

1 June 2009

Archive


http://www.slideshare.net/linuxmalaysia/analysis-design-method-for-osgibased-development

http://www.scribd.com/doc/16188863/Analysis-and-Design-Method-for-Osgibased-DevelopmentAzrinsyah-Mirza-Asfian

More slides and files

http://groups.google.com/group/osdcmy-list/files

Photo credit to Sumardi http://www.sumardi.com/

----

Analysis & Design Method for OSGi-based Development - Presentation Transcript

1. Analysis and Design Method for OSGi-based Development Azrinsyah Mirza Asfian, Engineer at MIMOS Berhad [email protected] www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
2. Agenda • Introduction • Service-Oriented Programming and OSGi • Object-Oriented Analysis and Design Method • The Proposed Method – Analysis and Design Method – Example – Applying the Analysis and Design Method to the Case Study • Conclusions and Discussions www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
3. Introduction • OSGi – Open Services Gateway Initiative – technology defined and promoted by the OSGi Alliance – open specifications for network delivery of managed services to local networks and devices. • Service-orientation and component-orientation – requirements of having a new analysis and design approach – existing OOAD methodologies e.g. Booch, OMT and UML could not be applied directly • Proposes an analysis and design method for OSGi-based development www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
4. Service-Oriented Programming • Utilizes services as fundamental elements • In OO, objects are building blocks while in SO, services are its foundation blocks • A service embedded in some component – accepts one or more requests and returns one or more responses • Different from traditional methods, e.g. OO or structural • Remarkable traits – Dynamism – Substitutability • Discover and substitute at run-time • Focuses on how services are described and organized of appropriate services at run-time www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
5. Service-Oriented Interaction Pattern www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
6. Service-Oriented Programming (cont.) • OOP – problems can be modeled in terms of objects in the problem domain • SOP – problems can be modeled in terms of services which can be implemented and provided by any other components, based solely on the contract • SOA – can discover, substitute and co-ordinate service implementations at run-time – because components publish and use services in a P2P manner www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
7. Contributions of Service-Oriented Programming • Fosters code reuse • Rapid and dynamic system construction • System upgrade without restarting and • Independence from platforms, protocols and deployment environments www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
8. OSGi Concepts • Follows concept of SOP • OSGi spec defines the service framework – minimal component model – management service for the components – service registry – Initially used for service gateways – now, mainstream software devt e.g. Eclipse subproject called Equinox • Services (i.e., Java interfaces) – packaged along with implementations and associated resources into bundles – conforms to SO interaction pattern – deployed into the OSGi framework via WANs i.e., the Internet or other means e.g. GSM or memory cards. © 2008 MIMOS Berhad. All Rights Reserved.
9. OSGi Concepts • Bundle is a Java JAR file that contains – physical unit of deployment – can be modified and updated without requiring system to be restarted – some combination of Java class files – native code – associated resources – manifest - meta-data describing, Java packages that the bundle requires or provides • Other competing SO architectures are NetBeans module and Java Plugin Framework www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
10. General Object-Oriented Analysis and Design (OOAD) Method • Steps available in both Booch and OMT: 1. Develop a problem statement 2. Identify the classes and objects 3. Identify the semantics (or attributes) of these classes and objects 4. Identify the relationships among these classes and objects 5. Specify the interface and then the implementation of these classes and objects www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
11. The Proposed Method • An improvement over existing OOAD methods. • Additional steps added: – Extract or reuse existing OSGi services and components (or bundles) based on their versions – Determine dependencies between services – Depict dynamic view of the system using service dependencies diagram www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
12. Analysis and Design Method • The resulting steps: 1. Develop a problem statement 2. Identify the services based on their intended responsibilities 3. Identify relationships between services during runtime. 4. Identify bundles that encapsulate a service (or services) 5. Identify classes and objects that make up a particular service and bundle 6. Identify the semantics (or attributes) of these classes and objects 7. Identify the relationships among these classes and objects 8. Specify the interface and then the implementation of these classes and objects www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
13. Example • Illustrate how to translate software requirements into design using OSGi • The requirements associated with this software: – System must be able to display all users available – When a user is selected, system must open a screen that displays details of the user. – All user information must be stored inside a centralized database. – System resides on a client computer which is remote from server that stores all the user information. www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
14. Applying the Analysis and Design Method – Overall System Architectural Diagram www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
15. Applying the Analysis and Design Method – Step 2 • Step 2 of the method is applied to the requirement specifications • Services identified: – Profile Persistence Service: Responsible in making used of Java persistence classes to perform Read operation on profile of users residing in centralized database – User Detail Screen Service: Provides a screen to open detail of a selected user – Main Screen Service: Shows the screen of main application – Table Screen Service: Provides table screen service www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
16. Applying the Analysis and Design Method – Step 3, Service Dependencies Diagram www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
17. Applying the Analysis and Design Method – Step 4 and Step 5 • Applying step 4 – results in each of the services to be in their respective bundles – need not to depict this – in complex systems where a bundle can provide more than one services, it is necessary to have a diagram on its own • Step 5 onwards will not be discussed here – same steps likewise OOAD methods – design patterns can be applied to further promote reusability within a bundle www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
18. Conclusions and Discussions • Suggested approach or step-by-step guidelines to build software systems utilizing OSGi • Weaknesses of this method are: – No formal notation defined to depict relationships between services during runtime – System architectural diagram must be depicted upfront – Identification and decompositions of services largely depends on skills and experience • A trend moving towards MDA and MDD is currently underway by OMG • In the future, this method can be improved to follow such a trend www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
19. THANK YOU www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
20. Object-Oriented Analysis and Design (OOAD) Method • In 1990s OO paradigm became popular – OO languages have been the preferred programming language – OO paradigm has introduced attributes which solve issues in structured paradigm • OOAD method – invented, likewise the structured analysis and design method is for structured paradigm – step-by-step guidelines for architects and developers on designing and developing their applications – popular methods e.g. Booch, Object Modeling Technique (OMT) and the Unified Modeling Language (UML) www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
21. OOAD Issues • Analysis and design of OO systems only • Resulting design is usually monolithic • Invented in 1990s where service-oriented and component-oriented paradigm was not common • An improved version of OOAD method is required • Do not cater for dynamism – service required or depended on by another service becomes unavailable – all components must be made available for the dependent components to be able to run or use – in SO, requires handling of unavailable service to be clearly specified during analysis and design phase www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
22. OOAD Issues (cont.) • UML does not provide formal notations to depict services • Structural view – bundle diagram that shows relationships and dependencies against other bundles – class diagram can still be used to illustrate classes within a package in a bundle • Dynamic view – OSGi bundle together with services that it offers to other services residing in other bundles – ensure that system being designed has all required services to be resolved and available during runtime www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
23. OOAD Issues (cont.) • OSGi attributes – possibility that different versions of same package providing a service to be made available – different versions of this package might be providing same service with different behaviours – Different parts of system might be using different versions of same package • Dynamic view of entire system is depicted by service dependencies diagram • Version of a service must be specified so that dependent services can be connected • Reactive approach in system development do exists www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.
24. OOAD Method (cont.) • Booch and OMT clearly specify the steps required to be taken when converting system requirements into a software design • UML – does not specify the exact method – only specify the notations and type of diagrams available to provide different architectural views of a software system – designed to be compatible with those methods – methods have been recast to take advantage of the new notations available www.mimos.my © 2008 MIMOS Berhad. All Rights Reserved.

----

MSC Malaysia Open Source 2009

http://www.mscmalaysia.my/opensource

http://www.facebook.com/pages/Kuala-Lumpur-Malaysia/MSC-Malaysia-Open-Source-Conference-2009/97810422651

Open Source Developers Club Malaysia OSDC.my

http://www.osdc.my/

OSDC.my Mailing List

http://groups.google.com/group/osdcmy-list

MSC Malaysia Open Source Conference 2009 slides at slideshare.com

http://www.slideshare.net/tag/mscosconf

Youtube Video Clips MSC Malaysia Open Source Conference 2009

http://www.youtube.com/watch?v=JErEKoptFsU

Cyber Merdeka Cyber Sovereignity By Azrul Hasni Madisa

http://mscoscon.blogspot.com/2009/06/cyber-merdeka-cyber-sovereignity-by.html


Testing Web Apps With Scripting Languages Mark Rees


Testing Web Apps With Scripting Languages Mark Rees

Testing Web Apps With Scripting Languages Mark Rees, Century Software. 1 June 2009. Developer Track MSC Malaysia Open Source Conference 2009.

Developer Track MSC Malaysia Open Source Conference 2009
1 June 2009

Archive


http://www.slideshare.net/linuxmalaysia/testing-web-apps-with-scripting-language-mark-rees-century-software-1540956

http://www.scribd.com/doc/16179852/Testing-Web-Apps-With-Scripting-Languages-Mark-Rees

More slides and files

http://groups.google.com/group/osdcmy-list/files

Photo credit to Sumardi http://www.sumardi.com/

----

Testing Web Apps With Scripting Language - Mark Rees, Century Software - Presentation Transcript

Testing Web Applications with Scripting Languages Mark Rees Century Software
twill ? Simple language for web browsing ? Stress tester ? Web site tester ? http://code.google.com/p/twill
twill-sh ? Interactive shell - twill-sh ? Scripted browsing - twill-sh -u http://localhost:8087 ? Record twill scripts with scotch
twill-fork ? Scripted stress testing - twill-fork -n 100 -p 5 test-wiki.twill
twill - unit testing ? twill-sh process directory of tests ? twill master run script ? Python unit test framework
twill – other features ? Supports authentication ? Debug helpers ? Extended with user defined commands ? Handles “bad” html ? “in-process” wsgi support
twill – the cons ? Advanced usage requires python skills ? It knows nothing about javascript
selenium ? Test web apps from within the browser ? Linux, Mac OS X, Windows - ie6+, firefox 0.8-3.0, mozilla 1.6+, safari, opera 8+, chrome ? http://www.openqa.org/selenium
Selenium Core ? Uses javascript & iframes to embed test engine ? Core must be installed on webserver under test
Selenium IDE ? Firefox extension ? Gets round core limitations ? Saves tests as - html or ruby ide scripts - Selenium RC run scripts in ? Java, C#, Perl, PHP, Python, Ruby
Selenium Remote Control ? Allows auto web ui testing with any language ? 2 components - Selenium server, written in java - Drivers for languages including python and ruby
Selenium: how it works
Other options ? Watir http://www.openqa.org/watir ? Watij http://www.openqa.org/watij ? Floyd http://www.openqa.org/floya ? HttpUnit http://httpunit.sf.net ? Sahi http://sahi.co.in/w/ ? WebDriver http://code.google.com/p/webdriver
WebDriver ? One day will be part of selenium 2.0 ? Drives the browser using best native method ? Java & Python bindings
Questions
code:test-rst2html.twill go http://localhost:8081/rst2html formvalue 1 text hello submit find \"hello\" back follow \"Home\"
code:test-rst2html-debug.twill debug http 1 go http://localhost:8081/rst2html formvalue 1 text hello submit find \"hello\" back follow \"Home\"

----

MSC Malaysia Open Source 2009

http://www.mscmalaysia.my/opensource

http://www.facebook.com/pages/Kuala-Lumpur-Malaysia/MSC-Malaysia-Open-Source-Conference-2009/97810422651

Open Source Developers Club Malaysia OSDC.my

http://www.osdc.my/

OSDC.my Mailing List

http://groups.google.com/group/osdcmy-list

MSC Malaysia Open Source Conference 2009 slides at slideshare.com

http://www.slideshare.net/tag/mscosconf

Youtube Video Clips MSC Malaysia Open Source Conference 2009

http://www.youtube.com/watch?v=JErEKoptFsU

Cyber Merdeka Cyber Sovereignity By Azrul Hasni Madisa

http://mscoscon.blogspot.com/2009/06/cyber-merdeka-cyber-sovereignity-by.html


Video Dinner MSC Malaysia Open Source Conference 2009

Video Dinner MSC Malaysia Open Source Conference 2009. 3rd June 2009. 6.30pm

Posted in Labels: | 0 comments Links to this post

Can Open Source bring about your next Innovation Breakthrough? - Gen Kanai, Mozilla Asia


Can Open Source bring about your next Innovation Breakthrough? - Gen Kanai, Mozilla Asia

MSC Malaysia Open Source Conference 2009
Community Track 1 June 2009

Archive

http://www.slideshare.net/linuxmalaysia/can-open-source-bring-about-your-next-innovation-breakthrough-gen-kanai-mozilla-asia

http://www.scribd.com/doc/16153119/Can-Open-Source-bring-about-your-next-Innovation-Breakthrough-Gen-Kanai-Mozilla-Asia

More slides and files

http://groups.google.com/group/osdcmy-list/files

Photo credit to Sumardi http://www.sumardi.com/

----

Can Open Source bring about your next Innovation Breakthrough? - Gen Kanai, Mozilla Asia - Presentation Transcript

1. How to innovate with open source: Lessons from Mozilla
2. Gen Kanai Director, Asia Business Development http://blog.mozilla.com/gen/ gen at mozilla dot com
3. Mozilla’s Mission:
4. Mozilla’s Mission: To promote choice, innovation and participation on the Internet
5. Mozilla’s Mission: To promote choice, innovation and participation on the Internet
6. How?
7. People, Having Fun, Building a Better Internet
8. What’s a Better Internet?
9. What’s a Better Internet? There are a few key characteristics:
10. What’s a Better Internet? There are a few key characteristics: transparent vs. unknowable
11. What’s a Better Internet? There are a few key characteristics: transparent vs. unknowable hackable vs. immutable
12. What’s a Better Internet? There are a few key characteristics: transparent vs. unknowable hackable vs. immutable shared control vs. central control
13. What’s a Better Internet? There are a few key characteristics: transparent vs. unknowable hackable vs. immutable shared control vs. central control international vs. internationalized
14. What’s a Better Internet? There are a few key characteristics: transparent vs. unknowable hackable vs. immutable shared control vs. central control international vs. internationalized participatory vs. passive
15. What’s a Better Internet? There are a few key characteristics: transparent vs. unknowable hackable vs. immutable shared control vs. central control international vs. internationalized participatory vs. passive open vs. closed
16. Our open Internet is made by all of us, you and me and everyone else: Wikipedia Wordpress Creative Commons Flickr Personal weblogs etc.
17. The closed Internet is made up of plugins: ActiveX Flash Silverlight etc.
18. Broswer plugins are: Closed source Centrally controlled Not hackable Opaque Often buggy... etc.
19. Do you remember 2003?
20. Do you remember 2003? Second Iraq war Human genome completed Last flight of Concorde and...
21. Do you remember 2003? Second Iraq war Human genome completed Last flight of Concorde Microsoft IE: over 95% share of browsers
22. In 2009, another country has over 95% share of Microsoft IE...
23. South Korea 98.66% Microsoft IE Source: logger.co.kr (Sept. 2008)
24. Visit South Korea to understand the dangers of browser plugins. Only Microsoft IE for secure transactions in Korea. http://blog.mozilla.com/gen/2007/02/27/the-cost-of-monoculture/
25. How does Mozilla innovate True open source project
26. How does Mozilla innovate True open source project Not all OSS projects are truly open Undocumented APIs Unscheduled code dumps Only some portions OSS; other parts proprietary
27. How does Mozilla innovate True open source project Only open standards
28. How does Mozilla innovate True open source project Only open standards W3C ECMA IETF
29. How does Mozilla innovate True open source project Only open standards HTML 5, CSS, JavaScript
30. How does Mozilla innovate True open source project Only open standards HTML 5, CSS, JavaScript, and Canvas Mozilla Labs Bespin https://bespin.mozilla.com
31. How does Mozilla innovate True open source project Only open standards HTML 5, CSS, JavaScript, and Canvas First to natively support HTML 5

Mapping A Disaster By Anthony Baxter Google


Mapping A Disaster By Anthony Baxter Google

Keynote MSC Malaysia Open Source Conference 2009
1 June 2009

Archive

http://www.slideshare.net/linuxmalaysia/mapping-a-disaster

http://www.scribd.com/doc/16148815/Mapping-Disaster-Anthony-Baxter-Mscosconf-2009

More slides and files

http://groups.google.com/group/osdcmy-list/files

Photo credit to Sumardi http://www.sumardi.com/

----

Mapping A Disaster - Presentation Transcript

Mapping a Disaster Anthony Baxter, Google [email protected]
February 7, 2009 Worst ?res in Australian history
173 dead
horri?c conditions 46.4C !
?res started sat 7 feb
?res started sat 7 feb still danger a week+ later
?res started sat 7 feb still danger a week+ later some ?res burned a month
4,500 km 2 of land burned
many ?res, across the state
up to date information
ABC radio government broadcaster of?cial emergency response network 24/7 radio coverage
of?cial sources
of?cial sources Country Fire Authority: private lands www.cfa.vic.gov.au
of?cial sources Country Fire Authority: private lands www.cfa.vic.gov.au Dept of Sustainability and Environment: public lands www.dse.vic.gov.au
problem #1
problem #1 server load 500 Server Error
problem #2
problem #2 locating these places
my brother lives here
friend lives my brother here lives here
friend's elderly parents here friend lives my brother here lives here
but where are the ?res?
who needs to know?
who needs to know? people in danger
who needs to know? people in danger friends and family
who needs to know? people in danger friends and family people following the news
sunday morning
sunday morning started thinking we should do something
sunday morning started thinking we should do something
version one scrape CFA RSS geocode locations publish as a ?ash map
mapvisage.appspot.com
6 hours initial development
6 hours initial development (2 hours of that on ?ash/IE debugging)
version two automate geocoding georss.org google maps API auto-refresh the map search, links to relief agencies
143.74774 -37.52654 point
slight issue
slight issue Fire service data not always clean
slight issue Fire service data not always clean “5KM SE WARBUTON TRK”
step three
step three satellite imagery
step three satellite imagery
NASA MODIS
NASA MODIS TERRA and AQUA
NASA MODIS TERRA and AQUA 250m resolution
NASA MODIS TERRA and AQUA 250m resolution daily coverage
NASA MODIS TERRA and AQUA 250m resolution daily coverage IR detectors
NASA MODIS TERRA and AQUA 250m resolution daily coverage IR detectors rapidfire.sci.gsfc.nasa.gov
polar orbit
polar orbit online within a few hours
serving the images
serving the images geotiff images
serving the images geotiff images standard format for map tiles
serving the images geotiff images standard format for map tiles standard ?le names
serving the images geotiff images stitch them together standard format for map tiles standard ?le names
problem
Google's map tile pipeline not suited to smaller jobs
Google's map tile pipeline not suited to smaller jobs or repeated, fast turnaround jobs
maptiler
maptiler gdal2tiles (summer of code)
maptiler gdal2tiles (summer of code) geotiff ? tile images
appengine not currently good at lots of ?les
appengine not currently good at lots of ?les serve from zip ?les
appengine not currently good at lots of ?les serve from zip ?les 6 zoom levels ~1000 images
HTTP Expiry Headers
HTTP Expiry Headers Google Front Ends
HTTP Expiry Headers Google Front Ends Image tiles cached
HTTP Expiry Headers Google Front Ends Image tiles cached code open sourced “mapvisage” on google code
HTTP Expiry Headers Google Front Ends Image tiles cached code open sourced “mapvisage” on google code warning: code not the prettiest
Automated tile generation
Automated tile generation mostly
Automated tile generation mostly stupid clouds
made map embeddable
made map embeddable news sites
made map embeddable news sites blog posts
made map embeddable news sites blog posts homepage promo
made map embeddable news sites blog posts homepage promo peak: 8M map views/day sustained: 60 hits/sec
bene?ts
bene?ts reassurance for the worried
bene?ts reassurance for the worried better understanding of the ?re scale
bene?ts reassurance for the worried better understanding of the ?re scale took load off ?re service websites
lesson enable people to reuse your data
geocoded RSS ? maps = map of family/friends
going forward
geocoded RSS
geocoded RSS
geocoded RSS more please
more than ?res
geo spatial information conveys vital information
disasters
disasters alerts
disasters alerts evacuations
loss of control?
loss of control? something that frightens agencies
loss of control? something that frightens agencies don't be scared ?
create clear license
create clear license lay out terms for re-use
for instance
for instance attribution
for instance attribution links
for instance attribution links timeliness
for instance attribution links timeliness
structure
structure RSS/Atom are obvious choices
structure RSS/Atom are obvious choices think: how can I expose this data as RSS?
RSS/Atom
RSS/Atom browsers/readers
RSS/Atom browsers/readers services to forward to SMS
structure
structure attach times to data
structure attach times to data attach locations to data
structure attach times to data attach locations to data don't make people guess
structure attach times to data attach locations to data don't make people guess use georss
you aren't the only one who can ?nd a use for your data
open data
open data especially when lives may depend on it
you can make a difference

----

MSC Malaysia Open Source 2009

http://www.mscmalaysia.my/opensource

http://www.facebook.com/pages/Kuala-Lumpur-Malaysia/MSC-Malaysia-Open-Source-Conference-2009/97810422651

Open Source Developers Club Malaysia OSDC.my

http://www.osdc.my/

OSDC.my Mailing List

http://groups.google.com/group/osdcmy-list

MSC Malaysia Open Source Conference 2009 slides at slideshare.com

http://www.slideshare.net/tag/mscosconf

Youtube Video Clips MSC Malaysia Open Source Conference 2009

http://www.youtube.com/watch?v=JErEKoptFsU

Cyber Merdeka Cyber Sovereignity By Azrul Hasni Madisa

http://mscoscon.blogspot.com/2009/06/cyber-merdeka-cyber-sovereignity-by.html


Why can’t we just get along?

Why can’t we just get along?

http://star-techcentral.com/tech/story.asp?file=/2009/6/5/corpit/20090605170051&sec=corpit

The Star Online > Corpit

Published: Friday June 5, 2009 MYT 4:59:00 PM

Why can’t we just get along?

By STEFAN NAIDU

KUALA LUMPUR: One of the points stressed at the MSC Malaysia Open Source Conference 2009 is that there need not be a battle between the open-source software (OSS) group and its proprietary-software counterpart.

Gery Messer, vice-president of technology solutions in Asia Pacific and Japan for open-source Linux distribution vendor Red Hat, said the two types of software can co-exist, possibly drawing on each other’s strengths.

“There are always at least two ways to get to the same place,” Messer said at the conference at the Berjaya Times Square Hotel and Convention Centre here this week.

Software giant Microsoft, which is firmly in the proprietary-software camp agreed.

“We are committed to being open when it comes to interoperability,” said Dzahar Mansor, national technology officer at Microsoft Malaysia.

“This includes ensuring open connections, enhancing support for industry standards and fostering a more open engagement with customers and the industry, including open-source communities.”

Microsoft, he said, is taking this path because it will enable its customers to have more choice in software and be able to easily integrate mixed-source infrastructure.

“Data will move seamlessly between applications and systems regardless of platform or vendor,” he added.

Traditionally, OSS supporters and supporters of proprietary software have been like oil and water.

Open-source proponents argue that proprietary software chains users to the software companies that sell such products, whereas open-source software liberates its users because the source code of these programs are open to everyone for modification.

On the other end, proponents of proprietary software counter that while open-source software is mostly free, its users often have to pay high fees for technical support.

© 1995-2009 Star Publications (Malaysia) Bhd (Co No 10894-D)

Video Related To MSC Malaysia Open Source Conference 2009

Video Related To MSC Malaysia Open Source Conference 2009

Launching of OSDC.my by Tun Dr. Mahathir Mohamad
1 June 2009. Dinner

http://www.youtube.com/watch?v=qE8mi5BW9dc

Join OSDC.my

http://www.osdc.my/

Video During MSC Malaysia Open Source Conference 2009 Dinner
3rd June 2009 6.30pm

http://www.youtube.com/watch?v=JErEKoptFsU

Announcement of MSC Malaysia Open Source Conference 2009
Date : Thursday, 23 April 2009 Time : 10.30 am

Part 1
http://www.youtube.com/watch?v=RFUJYF09ux4

Part 2
http://www.youtube.com/watch?v=1YbpgAEAHr0


Kicking Butt on Concurrent Enterprise Application With Scala By Azrul Hasni Madisa

Kicking Butt on Concurrent Enterprise Application With Scala By Azrul Hasni Madisa

Developer Track MSC Malaysia Open Source Conference 2009
1 June 2009. 5pm Bronx V

Archive


Kicking Butt on Concurrent Enterprise Application With Scala Slide



More slides and files


----

Kicking Butt on Concurrent Enterprise Application with Scala - Presentation Transcript

Kicking butt on concurrent enterprise application with Scala By Azrul MADISA Freelance Java Developer [email protected]
Plat du jour The concurrent enterprise The next billion users Asynchronous messaging Enter Scala Scala concurrency Scala actors Scala and Message Driven Beans
The ever concurrent enterprise Service A Service A Service A Service B Service B Service B Service C Service C Service C Service D Service D Service D Traditional Modern Web N.0 (large # of instances)
Commerce example Choose your things Choose from Choose from things in the things in the store store Pay Queue up Queue up (1 counter in (Many counters the shop) In the shop) Inventory Packaging Pay and delivery Pay Traditional Hypermarkets E-Commerce
Other sectors Telco Switch board ? Exchanges ? NGN Government Counter based ? E-Government Finance Counter ? ATM ? E-Banking Others Millitary, logistics, media & content
The next billion users Sum of Bandwidth: Google, Twitter, Facebook etc. HPC (High performance Computing) Genomics, Animation *Prise (Enterprise) Cloud based, Saas, * http://blogs.sun.com/Gregp/entry/a_word_or_two_on
Don't mean to scare ya but... People are more network centric Every mobile device is a potential terminal to your services How many mobile devices are there? A couple of billion ? People are not the only ones accessing your services [Please hum the X-Files theme song in your head right now] => Computing demand grows faster than Moore's law Also known as the red shift
One word to rule them all ...
One word to rule them all ... i t y i l a b a l S c
What technology will allow this? Criteria Play well with current enterprise systems Play well on the JVM Fault tolerent Share-nothing philosophy Asynchronous messaging No side effect (Maybe functional) Easy to learn (tool support, language LAF) Performance – At least as good as current offerings Take advantage of multi-core tech.
Why asynchronous messaging important E-commerce example: Verify stock User choose Go to Start products checkout No Inform user End Stock exist? Take payment Yes End from user
Why asynchronous messaging important Verify stock Millions of items Kicker... need to lock an item while reserving it To avoid 2 person buying the same thing Lengthy => Clients will run away
Why asynchronous messaging important Simplified e- End commerce User choose Go to Take payment Start products checkout from user
Why asynchronous messaging important Simplified e- End commerce User choose Go to Take payment Start products checkout from user Fire another process Yes Packaging + End Shipment Verify stock Stock exist? Email to user – item would be End No a bit late
Long running transaction Short OLTP High volume processes We somewhat know how to do this High volume Long running processes ?
Long running transaction Client pay Package an item Ship to client's premise Client sign off
Long running transaction Client pay Package an item Reimburse 80% Back to client Exception! Ship to client's premise Ship back to Client cancel vendor's premise Client sign off
Enter Scala Created by Martin Odersky Made is Swiss (no, it's not a knife nor a kind of cheese) Run on Java JVM Java is king of the enterprise, running on JVM ensures adoption. Can use and inherit Java classes. Also runs on .Net CLR Object oriented and functional at the same time Statically typed with type inference Recently used by Twitter on the back-end ... replacing that other you-know-which language ;)
Why not the other JVM languages JRuby, Jython , Duck typing? No thanks Clojure Interesting but syntax is too “lisp-y” - My personal opinion Plain old Java Are you kidding me? Image from: http://www.travelblog.org/Europe/Netherlands/North-Holland/Volendam/blog-385862.html
Scala concurrency: Immutable variables Immutable variables Variable that cannot change its value Useful in concurrent apps State cannot be inconsistent Easily declare variables as immutable The “val” keyword automatically makes variable immutable val movie = new Movie(“Wolverine”)
Scala concurrency: Immutable variables Can Java do this? Java does this on String For other object: Tedious since Java don't have operator overloading
Scala concurrency: Easy singleton Often times, we need one single object per application E.g. Some utility class to access the database Scala provide easy singleton: object MySingleton{ //singleton's body } The singleton's constructor is fully synchronized
Scala concurrency: Easy singleton Can we do this in Java Sure, but, again, it's tedious You have to create all the boilerplat code yourself Refer to the Gang Of Four book
Scala concurrency: Actors Scala has actors … and no, they're not as bad as Paris Hilton
Scala concurrency: Actors Actors Actors are objects Receive message asynchronously Reply with a Future Future = placeholder of future result Concurrency without threading Event-driven Unlike real-world actors, Scala actors are Cheap Totally ignored by politicians
Scala concurrency: Actors Event driven architecture Unlike threads, actors are event-driven Only become alive when there are messages to be processed. Execute on a thread pool With message passing, number of locks are low Great for multicore processors
Scala concurrency: Actors MainApp End User choose Go to Take payment Start products checkout from user Fire another process Yes Packaging + End Shipment Verify stock Stock exist? Email to user – item would be End Actor1 No a bit late
Scala concurrency: Actors case class MyMessage(myPaylod:String) //declare type of message object Actor1 extends Actor { def act = { loop { react { case MyMessage(“Continue e-commerce process”) => //Manage Stock verification, Packaging and Delivery here … //closing curly braces } object MainApp extends Application { //Do your business logic here, once you get to Payment ... Actor1.start Actor1 ! MyMessage(“Continue”) //send message to actor Actor1 }
Scala concurrency: Actors Can we do this in Java In plain old Java, thread can be used Thread can not be created in a Java EE container Have to use JMS OpenMQ ActiveMQ Message Driven Beans Message Driven Pojo with Spring
Scala concurrency: Reliability Short-comings of Scala messages They do not live in a transaction They cannot travel through a network There are projects to address this short coming Scala OTP (Equivalent to Erlang OTP) ActiveObject Another approach is to combine Scala and Java EE
Combining actors and message driven beans Scala Actors Message driven bean `
Combining actors and message driven beans Scala Actors Message driven bean ` Bridging agent acting like a “worm-hole” d Between the Scala world and MDB el ate re kr ! ! ta r T used uck d : S eing ek, NG e R NI is b t a g y WA alog e no an ou'r If y
Combining actors and message driven beans Scala world JMS world Request Actor javax.jms.MessageListener Queue WormholeActor MDB Scala object Spring's Message Driven Pojo Response Queue
Performance Shamelessly plucked from http://shootout.alioth.debian.org/u32q/benchmark.php?test=binarytrees&lang=all
Tools Netbeans, Eclipse and IDEA plugin
My wish list Scala actors working in XA Developing EJB 3.1 in Scala Seamlessly portable Scala apps to .Net Better IDE support Scala actors that can travel through a grid/cloud/network Pi-calculus Scala + SOA An international Scala conf. in Malaysia A magic flying talking pony err... car
Other interesting stuff Lift Scala web framework based on actors Scala books Testing ScalaTest
References The Scala official website scala-lang.org Ted Neward's Scala For Busy Java Developer Daniel Spiewak's Scala for Java Refugees Debasish Ghosh's Scala Actors 101 Various blogs, forums, people (too many to name … )
End note Scala is a sharp weapon to use in the coming “highly concurrent” age Hope to get you excited over Scala Play with it Test it Use it Twitt/blog about it Get something moving in Malaysia


----

MSC Malaysia Open Source 2009



Open Source Developers Club Malaysia OSDC.my


OSDC.my Mailing List


MSC Malaysia Open Source Conference 2009 slides at slideshare.com


Youtube Video Clips MSC Malaysia Open Source Conference 2009


Cyber Merdeka Cyber Sovereignity By Azrul Hasni Madisa


Cyber Merdeka Cyber Sovereignity By Azrul Hasni Madisa

Lightning talk MSC Malaysia Open Source Conference 2009
3 June 2009. 5pm Bronx V

Cyber Merdeka Cyber Sovereignity
http://www.scribd.com/doc/16094325/Cyber-Merdeka-Cyber-Sovereignity


http://www.slideshare.net/linuxmalaysia/cyber-merdeka-cyber-sovereignity

Cyber Merdeka Cyber Sovereignity - Presentation Transcript

Cyber Merdeka ([email protected])
Who are these people
What did they do
They struggle for our independance
AND STRUGGLE THEY DID!!
Today …
Our independence is again under threat...
Our IT independence that is
Our government's data
… is stored in propreitary file format
… and in propeitary databases
… running on propeitary systems
… whose IP are owned by foreign companies
Who love software patent like Britney loves her poodle
Who can pull the plug on us at any time.. you know, like tomorrow
OR RIGHT NOW!
What are we?
[email protected]
We have to fight for our IT independance!!
By using Open Source
So that we are in control
The government says...
We have to be neutral
Neutral??
Neutral my stiking foot!!
We have to be BIAS
… towards our own interest
The Americans ...
… are always protecting their interest
Why don't we?
Open source not owned by anyone.
It's not ours
But...
It's the next best thing
We can modify it and change it …
… heck
… we can publish the code on TV, for all we care
… and that is OK
( As if Malaysian TV is not boring enough already)
What platform
Doc. mgmt Workflow Whatever... Scala,PHP, Ruby, Phyton PHP, Ruby, Phyton JVM Open source OS (Linux,Solaris, BSD ...) Open source HW (OpenSPARC)
What can you do?
Blog
Twitt
Chat
Convince
...people around you, especially if they are not in IT
of the importance of IT sovereignity
Malaysians are nobody's PANSY!
I had a meeting with MDEC
50.6% of MSC companies are struggling to look for Java Programmers
… and yet our university grads only know VB
… and VB 6 at that
Cyber Merdeka is not just a call
For hippies
Who hug trees
And burn bras
… if you do wear a bra
Of course
You can burn someone else's bra too
(Sorry I digress)
This call makes ...
BUSINESS SENSE!
So if our forefather give their lives for our independance
We need to give our code
… and our sweat and our time and our attention
… to Open Source
For our independance
MERDEKA!! ( Freedom )
Did I sound like William Walace from Braveheart? :)
Is Mel Gibson in the room?
TQ ([email protected]) (ejn3.blogspot.com)
Do want schools to be named after you!
So fight for our Cyber Merdeka!



MSC Malaysia Open Source Conference 2009 Programme Booklet

MSC Malaysia Open Source Conference 2009 Programme Booklet

MSC Malaysia Open Source Conference 2009 Programme Booklet MSC Malaysia Open Source Conference 2009 Programme Booklet Harisfazillah Jamel MSC Malaysia Open Source Conference 2009 Programme Booklet. Berjaya Time Square 31 May till 3 June 2009.

Websecurity: Are Your Web Servers Part of Botnet? - Mahmud Ab Rahman


Websecurity: Are Your Web Servers Part of Botnet? - Mahmud Ab Rahman, Cybersecurity Malaysia

Community Track. Wednesday, 3 June 2009.

Onions and Spaghetti - Programming Lessons Learnt the Hard Way - Sara Falamaki


Onions and Spaghetti - Programming Lessons Learnt the Hard Way - Sara Falamaki, CSIRO.

Community Track. Wednesday, 3rd June 2009.

End of MSC Malaysia Open Source Conference 2009

End of MSC Malaysia Open Source Conference 2009

Launching of OSDC.my by Tun Dr. Mahathir Mohamad

Launching of OSDC.my by Tun Dr. Mahathir Mohamad

http://www.osdc.my/

MDeC Eyes RM800 Mln Revenue From Open Source Software, Services

MDeC Eyes RM800 Mln Revenue From Open Source Software, Services

KUALA LUMPUR, June 1 (Bernama) -- Multimedia Development Corp (MDeC) expects revenue from open source-related software and services to increase to RM800 million within two years.

Its chief executive officer, Datuk Badlisham Ghazali, said statistics from MSC Malaysia showed that about 420 companies had collectively earned close to RM420 million from professional services and customised software development.

He said among the strategies that would be taken to realise the expected revenue were from conferences, training and development as well as promotions.

"Malaysians are not lacking in terms of ideas but in collaborations and business network. Networking is important.

"For training and development they will be working hand-in-hand with universities and promotions," Badlisham told a media briefing after opening the MSC Malaysia Open Source Conference 2009 here today.

The conference, which started yesterday to June 3, is themed "Open to Change".

It is organised by the MDeC in cooperation with the Malaysian Administrative Modernisation and Management Planning Unit (Mampu) and supported by the Malaysian Open Source Community.

Badlisham said open source projects could offer business intelligence, enterprise resource planning, supply chain management, content management, customer relationship and e-commerce functionalities, through technology tools and solutions.

He said the government has allocated RM10 million to help open source companies.

"The fund, to be used for research and development, training as well as promotional purposes, will hopefully be disbursed by early fourth quarter of this year," he said.

Badlisham said the fund was already with MDeC and was part of the Ninth Malaysia Plan.

Meanwhile, Mampu director-general, Datuk Normah Md Yusof, said to date, the unit has successfully rolled out 1,124 open source software-related (OSS) projects and more than 60 percent of the government agencies were known to have adopted OSS and the number was growing fast.

She said the Public Service Department, ministries of education and finance had leveraged on OSS and had successfully expanded from simple pilots to mass scale roll-out.

-- BERNAMA

Source

http://www.bernama.com/bernama/v5/newsindex.php?id=415078

Posted in Labels: | 0 comments Links to this post
Facebook like, MOSC2012 Blog. Be the first of your friends :-


blog comments powered by Disqus