highlights in erlang/otp r9b
DESCRIPTION
Highlights in Erlang/OTP R9B. Erlang/OTP R9B released 16:th of October. Supported platforms are: Sun Solaris 2.5-2.8 Sparc Windows NT/2000/XP (Windows 95/98) Linux x86 (kernel 2.4.5, glibc 2.2.2) … Open Source R9B-0 available since 16:th of October. New. - PowerPoint PPT PresentationTRANSCRIPT
04/19/23 Network Core Products1
Highlights in Erlang/OTP R9B
• Erlang/OTP R9B released 16:th of October.
Supported platforms are:
Sun Solaris 2.5-2.8 Sparc
Windows NT/2000/XP (Windows 95/98)
Linux x86 (kernel 2.4.5, glibc 2.2.2)
…
• Open Source R9B-0 available since 16:th of October
04/19/23 Network Core Products2
New
• Observer, various facilities for “observing” a live system.
• ms_transform, for easier writing of match specifications.
• Cprof, a call count profiler
• CosEventDomain, OMG compliant CORBA service
• Et, an event tracer with graphical viewing of trace data
• HiPE (shared_heap, native codegen)
• Packages, structured program module packages
04/19/23 Network Core Products3
Enhanced
• Memory allocation improvements
• 262143 Erlang processes, > 255 node connections
• ASN1 , much faster encode/decode of BER and PER
• Inets, support for HTTP 1.1
• Orber, Fixed datatype, new debugging facilities
• Mnesia, fragmented tables, performance during startup
• GS, uses Tcl/Tk 8.3.4
04/19/23 Network Core Products4
Erlang OTP/Test Server released as Open Source
• The test server + 2 test suites are released today
• Make the test_server available for public use.
• Show how efficient it is to use Erlang for testing.
• The test suites can be used to check that the Erlang you
just built works as expected.
• Note!, not a supported application
• http://www.erlang.org/project/test_server
04/19/23 Network Core Products5
What is the Erlang OTP/Test Server?
An easy way to:
• write tests,
• run tests and
• to get test results presented in a nice way.
• Used in all levels of design, by individual designer and in
daily build.
04/19/23 Network Core Products6
Erlang OTP/Test Server, example of test suite
-module(my_SUITE)....
-include("test_server.hrl").
-define(default_timeout, ?t:minutes(1)).
all(suite) -> %% Test specification on test suite level
[not_started_func1].
not_started_func1(suite) -> [];
not_started_func1(doc) ->
["Testing function 1 when application is not started"].
not_started_func1(Config) when list(Config) ->
?line {error, not_started} = myapp:func1(dummy_ref,1),
?line {error, not_started} = myapp:func1(dummy_ref,2),
ok.
04/19/23 Network Core Products7
Erlang OTP/Test Server example of result report, top level
04/19/23 Network Core Products8
Erlang OTP/Test Server example of result report , suite level
04/19/23 Network Core Products9
Erlang OTP/Test Server example of result report, test case level
04/19/23 Network Core Products10
Test Server
testserver@host
test_controlleractive
listen
listen
send
send
passive
created per job
- create logs- write logs- present results
- initialize jobs- start/stop nodes
testserver@target
test_serverlisten
listen
send
send
passive
created per job
- create privdir- collect io and result
created per test case
run test casegroupleader
04/19/23 Network Core Products11
Coming next
• Erlang/OTP on OSE-delta
• Enhanched memory handling for ets-tables, binaries
• Completed 64-bit support
• Stand-alone Erlang as part of the package
• Corba security
• Improved erl_crash dumps,
• ...